<template>
    <div>
        <van-address-list v-model="chosenAddressId" :list="list" add-button-text="结算" @click="toorder" />
    </div>
</template>

<script setup>
import { useRoute, useRouter } from 'vue-router'
const router = useRouter()
import _ from 'lodash'

//  _.debounce(calculateLayout, 150));
const toorder = _.debounce(() => {
    router.push({ path: '/order', query: { juan: '无可用优惠卷', youhui: '无', price: '¥20.10', hui: 0, fei: '免运费', num:'3' } })
}, 1000);

</script>

<style lang="scss" scoped></style>